{% extends "main_template.html" %}

{% block sectionnav %}
  <ul>
  {%for raid in raids %}
     <li><a href="/sk/admin/{{raid.pk}}"/>{{raid.instance}} {{raid.start_time}}</a></li>
  {%endfor%}
  </ul>
{% endblock %}

{% block content %}
<h1>SK Admin</h1>
<h2>{{raid}}</h2>

<form action="/sk/admin/{{raid.pk}}/" method="POST">
<table>
{{raidform.as_table}}
</table>
<input type="submit" value="Select Boss"/>

<table>
{% for raider in raiders %}
  <tr>
     <td><input type="radio" name="char" value="{{raider.character.id}}""/>
     <td style="background-color:#{{raider.character.character_class.hex_colour}}">
       <img src="/media/img/{{raider.character.character_class.icon}}" title="{{raider.character.character_class}}" width="16" height="16"/>
       {{raider.character.name}}</td>
     <td>{{raider.confirmed}}</td>
     <td>{{raider.note}}</td>
     
  </tr>
{% endfor %}
</table>
<input type="submit" value="Suicide"/>
</form>
{% endblock %}